package data

import (
	"log"

	"github.com/google/wire"
	"voiddme.io/engineering/internal/conf"
)

var ProviderSet = wire.NewSet(NewData, NewCartRepo)

type Data struct {
}

func NewData(c *conf.Data, logger *log.Logger) (*Data, func(), error) {
	cleanup := func() {
		logger.Println("closing the data resources")
	}
	return &Data{}, cleanup, nil
}
